FROM openjdk:8
WORKDIR /work
COPY $PWD/product-service/target/product-service-1.0-SNAPSHOT.jar /work
#ENV NACOS_ADDR=192.168.101.70:8848
#ENV NACOS_NAMESPACE=docker
CMD ["java","-jar","product-service-1.0-SNAPSHOT.jar"]